multi-step equation with parenthesis